home *** CD-ROM | disk | FTP | other *** search
/ Game.EXE 2004 July / My Disc.iso / patch / UT2004 / ut2004-winpatch3236.exe / UT2004-Patch / System / UnrealGame.u / Bot_CTFFlag_ScriptText.TextBuffer < prev    next >
Unknown  |  2004-06-11  |  7.1 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 54 71 63 6c 61 73 73 20 |........|Tqclass |
|00000010| 43 54 46 46 6c 61 67 20 | 65 78 74 65 6e 64 73 20 |CTFFlag |extends |
|00000020| 47 61 6d 65 4f 62 6a 65 | 63 74 3b 0d 0a 0d 0a 76 |GameObje|ct;....v|
|00000030| 61 72 20 62 79 74 65 20 | 09 09 09 54 65 61 6d 4e |ar byte |...TeamN|
|00000040| 75 6d 3b 0d 0a 76 61 72 | 20 55 6e 72 65 61 6c 54 |um;..var| UnrealT|
|00000050| 65 61 6d 49 6e 66 6f 20 | 09 54 65 61 6d 3b 0d 0a |eamInfo |.Team;..|
|00000060| 76 61 72 20 55 6e 72 65 | 61 6c 50 61 77 6e 20 09 |var Unre|alPawn .|
|00000070| 09 4f 6c 64 48 6f 6c 64 | 65 72 3b 0d 0a 76 61 72 |.OldHold|er;..var|
|00000080| 20 47 61 6d 65 52 65 70 | 6c 69 63 61 74 69 6f 6e | GameRep|lication|
|00000090| 49 6e 66 6f 20 47 52 49 | 3b 0d 0a 0d 0a 72 65 70 |Info GRI|;....rep|
|000000a0| 6c 69 63 61 74 69 6f 6e | 0d 0a 7b 0d 0a 09 72 65 |lication|..{...re|
|000000b0| 6c 69 61 62 6c 65 20 69 | 66 20 28 20 52 6f 6c 65 |liable i|f ( Role|
|000000c0| 20 3d 3d 20 52 4f 4c 45 | 5f 41 75 74 68 6f 72 69 | == ROLE|_Authori|
|000000d0| 74 79 20 29 0d 0a 09 09 | 54 65 61 6d 3b 0d 0a 7d |ty )....|Team;..}|
|000000e0| 0d 0a 0d 0a 73 69 6d 75 | 6c 61 74 65 64 20 66 75 |....simu|lated fu|
|000000f0| 6e 63 74 69 6f 6e 20 55 | 70 64 61 74 65 46 6f 72 |nction U|pdateFor|
|00000100| 54 65 61 6d 28 29 0d 0a | 7b 0d 0a 09 69 66 20 28 |Team()..|{...if (|
|00000110| 20 28 47 52 49 20 21 3d | 20 4e 6f 6e 65 29 20 26 | (GRI !=| None) &|
|00000120| 26 20 28 54 65 61 6d 4e | 75 6d 20 3c 20 32 29 20 |& (TeamN|um < 2) |
|00000130| 26 26 20 28 47 52 49 2e | 54 65 61 6d 53 79 6d 62 |&& (GRI.|TeamSymb|
|00000140| 6f 6c 73 5b 54 65 61 6d | 4e 75 6d 5d 20 21 3d 20 |ols[Team|Num] != |
|00000150| 4e 6f 6e 65 29 20 29 0d | 0a 09 20 20 20 20 54 65 |None) ).|.. Te|
|00000160| 78 53 63 61 6c 65 72 28 | 43 6f 6d 62 69 6e 65 72 |xScaler(|Combiner|
|00000170| 28 53 68 61 64 65 72 28 | 46 69 6e 61 6c 42 6c 65 |(Shader(|FinalBle|
|00000180| 6e 64 28 53 6b 69 6e 73 | 5b 30 5d 29 2e 4d 61 74 |nd(Skins|[0]).Mat|
|00000190| 65 72 69 61 6c 29 2e 44 | 69 66 66 75 73 65 29 2e |erial).D|iffuse).|
|000001a0| 4d 61 74 65 72 69 61 6c | 32 29 2e 4d 61 74 65 72 |Material|2).Mater|
|000001b0| 69 61 6c 20 3d 20 47 52 | 49 2e 54 65 61 6d 53 79 |ial = GR|I.TeamSy|
|000001c0| 6d 62 6f 6c 73 5b 54 65 | 61 6d 4e 75 6d 5d 3b 0d |mbols[Te|amNum];.|
|000001d0| 0a 7d 0d 0a 0d 0a 73 69 | 6d 75 6c 61 74 65 64 20 |.}....si|mulated |
|000001e0| 66 75 6e 63 74 69 6f 6e | 20 53 65 74 47 52 49 28 |function| SetGRI(|
|000001f0| 47 61 6d 65 52 65 70 6c | 69 63 61 74 69 6f 6e 49 |GameRepl|icationI|
|00000200| 6e 66 6f 20 4e 65 77 47 | 52 49 29 0d 0a 7b 0d 0a |nfo NewG|RI)..{..|
|00000210| 09 47 52 49 20 3d 20 4e | 65 77 47 52 49 3b 0d 0a |.GRI = N|ewGRI;..|
|00000220| 09 55 70 64 61 74 65 46 | 6f 72 54 65 61 6d 28 29 |.UpdateF|orTeam()|
|00000230| 3b 0d 0a 7d 0d 0a 0d 0a | 73 69 6d 75 6c 61 74 65 |;..}....|simulate|
|00000240| 64 20 66 75 6e 63 74 69 | 6f 6e 20 50 6f 73 74 42 |d functi|on PostB|
|00000250| 65 67 69 6e 50 6c 61 79 | 28 29 0d 0a 7b 0d 0a 09 |eginPlay|()..{...|
|00000260| 53 75 70 65 72 2e 50 6f | 73 74 42 65 67 69 6e 50 |Super.Po|stBeginP|
|00000270| 6c 61 79 28 29 3b 0d 0a | 20 20 20 20 69 66 20 28 |lay();..| if (|
|00000280| 20 4c 65 76 65 6c 2e 47 | 61 6d 65 20 21 3d 20 4e | Level.G|ame != N|
|00000290| 6f 6e 65 20 29 0d 0a 09 | 09 53 65 74 47 52 49 28 |one )...|.SetGRI(|
|000002a0| 4c 65 76 65 6c 2e 47 61 | 6d 65 2e 47 61 6d 65 52 |Level.Ga|me.GameR|
|000002b0| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 29 3b |eplicati|onInfo);|
|000002c0| 0d 0a 7d 0d 0a 0d 0a 2f | 2f 20 53 74 61 74 65 20 |..}..../|/ State |
|000002d0| 74 72 61 6e 73 69 74 69 | 6f 6e 73 0d 0a 66 75 6e |transiti|ons..fun|
|000002e0| 63 74 69 6f 6e 20 53 65 | 74 48 6f 6c 64 65 72 28 |ction Se|tHolder(|
|000002f0| 43 6f 6e 74 72 6f 6c 6c | 65 72 20 43 29 0d 0a 7b |Controll|er C)..{|
|00000300| 0d 0a 09 6c 6f 63 61 6c | 20 43 54 46 53 71 75 61 |...local| CTFSqua|
|00000310| 64 41 49 20 53 3b 0d 0a | 0d 0a 09 2f 2f 20 41 49 |dAI S;..|...// AI|
|00000320| 20 52 65 6c 61 74 65 64 | 0d 0a 09 69 66 20 28 20 | Related|...if ( |
|00000330| 42 6f 74 28 43 29 20 21 | 3d 20 4e 6f 6e 65 20 29 |Bot(C) !|= None )|
|00000340| 0d 0a 09 09 53 20 3d 20 | 43 54 46 53 71 75 61 64 |....S = |CTFSquad|
|00000350| 41 49 28 42 6f 74 28 43 | 29 2e 53 71 75 61 64 29 |AI(Bot(C|).Squad)|
|00000360| 3b 0d 0a 09 65 6c 73 65 | 20 69 66 20 28 20 50 6c |;...else| if ( Pl|
|00000370| 61 79 65 72 43 6f 6e 74 | 72 6f 6c 6c 65 72 28 43 |ayerCont|roller(C|
|00000380| 29 20 21 3d 20 4e 6f 6e | 65 20 29 0d 0a 09 09 53 |) != Non|e )....S|
|00000390| 20 3d 20 43 54 46 53 71 | 75 61 64 41 49 28 55 6e | = CTFSq|uadAI(Un|
|000003a0| 72 65 61 6c 54 65 61 6d | 49 6e 66 6f 28 43 2e 50 |realTeam|Info(C.P|
|000003b0| 6c 61 79 65 72 52 65 70 | 6c 69 63 61 74 69 6f 6e |layerRep|lication|
|000003c0| 49 6e 66 6f 2e 54 65 61 | 6d 29 2e 41 49 2e 46 69 |Info.Tea|m).AI.Fi|
|000003d0| 6e 64 48 75 6d 61 6e 53 | 71 75 61 64 28 29 29 3b |ndHumanS|quad());|
|000003e0| 0d 0a 09 69 66 20 28 20 | 53 20 21 3d 20 4e 6f 6e |...if ( |S != Non|
|000003f0| 65 20 29 0d 0a 09 09 53 | 2e 45 6e 65 6d 79 46 6c |e )....S|.EnemyFl|
|00000400| 61 67 54 61 6b 65 6e 42 | 79 28 43 29 3b 0d 0a 0d |agTakenB|y(C);...|
|00000410| 0a 09 53 75 70 65 72 2e | 53 65 74 48 6f 6c 64 65 |..Super.|SetHolde|
|00000420| 72 28 43 29 3b 0d 0a 0d | 0a 20 20 20 20 43 2e 53 |r(C);...|. C.S|
|00000430| 65 6e 64 4d 65 73 73 61 | 67 65 28 4e 6f 6e 65 2c |endMessa|ge(None,|
|00000440| 20 27 4f 54 48 45 52 27 | 2c 20 43 2e 47 65 74 4d | 'OTHER'|, C.GetM|
|00000450| 65 73 73 61 67 65 49 6e | 64 65 78 28 27 47 4f 54 |essageIn|dex('GOT|
|00000460| 45 4e 45 4d 59 46 4c 41 | 47 27 29 2c 20 31 30 2c |ENEMYFLA|G'), 10,|
|00000470| 20 27 54 45 41 4d 27 29 | 3b 0d 0a 7d 0d 0a 0d 0a | 'TEAM')|;..}....|
|00000480| 66 75 6e 63 74 69 6f 6e | 20 44 72 6f 70 28 76 65 |function| Drop(ve|
|00000490| 63 74 6f 72 20 6e 65 77 | 56 65 6c 29 0d 0a 7b 0d |ctor new|Vel)..{.|
|000004a0| 0a 20 20 20 20 4f 6c 64 | 48 6f 6c 64 65 72 20 3d |. Old|Holder =|
|000004b0| 20 48 6f 6c 64 65 72 3b | 0d 0a 0d 0a 09 52 6f 74 | Holder;|.....Rot|
|000004c0| 61 74 69 6f 6e 52 61 74 | 65 2e 59 61 77 20 3d 20 |ationRat|e.Yaw = |
|000004d0| 52 61 6e 64 28 32 30 30 | 30 30 30 29 20 2d 20 31 |Rand(200|000) - 1|
|000004e0| 30 30 30 30 30 3b 0d 0a | 09 52 6f 74 61 74 69 6f |00000;..|.Rotatio|
|000004f0| 6e 52 61 74 65 2e 50 69 | 74 63 68 20 3d 20 52 61 |nRate.Pi|tch = Ra|
|00000500| 6e 64 28 32 30 30 30 30 | 30 20 2d 20 41 62 73 28 |nd(20000|0 - Abs(|
|00000510| 52 6f 74 61 74 69 6f 6e | 52 61 74 65 2e 59 61 77 |Rotation|Rate.Yaw|
|00000520| 29 29 20 2d 20 30 2e 35 | 20 2a 20 28 32 30 30 30 |)) - 0.5| * (2000|
|00000530| 30 30 20 2d 20 41 62 73 | 28 52 6f 74 61 74 69 6f |00 - Abs|(Rotatio|
|00000540| 6e 52 61 74 65 2e 59 61 | 77 29 29 3b 0d 0a 0d 0a |nRate.Ya|w));....|
|00000550| 20 20 20 20 56 65 6c 6f | 63 69 74 79 20 3d 20 28 | Velo|city = (|
|00000560| 30 2e 32 20 2b 20 46 52 | 61 6e 64 28 29 29 20 2a |0.2 + FR|and()) *|
|00000570| 20 28 6e 65 77 56 65 6c | 20 2b 20 34 30 30 20 2a | (newVel| + 400 *|
|00000580| 20 46 52 61 6e 64 28 29 | 20 2a 20 56 52 61 6e 64 | FRand()| * VRand|
|00000590| 28 29 29 3b 0d 0a 09 69 | 66 20 28 20 50 68 79 73 |());...i|f ( Phys|
|000005a0| 69 63 73 56 6f 6c 75 6d | 65 2e 62 57 61 74 65 72 |icsVolum|e.bWater|
|000005b0| 56 6f 6c 75 6d 65 20 29 | 0d 0a 09 09 56 65 6c 6f |Volume )|....Velo|
|000005c0| 63 69 74 79 20 2a 3d 20 | 30 2e 35 3b 0d 0a 0d 0a |city *= |0.5;....|
|000005d0| 20 20 20 20 53 75 70 65 | 72 2e 44 72 6f 70 28 56 | Supe|r.Drop(V|
|000005e0| 65 6c 6f 63 69 74 79 29 | 3b 0d 0a 7d 0d 0a 0d 0a |elocity)|;..}....|
|000005f0| 0d 0a 2f 2f 20 48 65 6c | 70 65 72 20 66 75 6e 63 |..// Hel|per func|
|00000600| 73 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 62 6f 6f 6c |s..funct|ion bool|
|00000610| 20 53 61 6d 65 54 65 61 | 6d 28 43 6f 6e 74 72 6f | SameTea|m(Contro|
|00000620| 6c 6c 65 72 20 63 29 0d | 0a 7b 0d 0a 20 20 20 20 |ller c).|.{.. |
|00000630| 69 66 20 28 63 20 3d 3d | 20 4e 6f 6e 65 20 7c 7c |if (c ==| None |||
|00000640| 20 63 2e 50 6c 61 79 65 | 72 52 65 70 6c 69 63 61 | c.Playe|rReplica|
|00000650| 74 69 6f 6e 49 6e 66 6f | 2e 54 65 61 6d 20 21 3d |tionInfo|.Team !=|
|00000660| 20 54 65 61 6d 29 0d 0a | 20 20 20 20 20 20 20 20 | Team)..| |
|00000670| 72 65 74 75 72 6e 20 66 | 61 6c 73 65 3b 0d 0a 0d |return f|alse;...|
|00000680| 0a 20 20 20 20 72 65 74 | 75 72 6e 20 74 72 75 65 |. ret|urn true|
|00000690| 3b 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |;..}....|function|
|000006a0| 20 62 6f 6f 6c 20 56 61 | 6c 69 64 48 6f 6c 64 65 | bool Va|lidHolde|
|000006b0| 72 28 41 63 74 6f 72 20 | 4f 74 68 65 72 29 0d 0a |r(Actor |Other)..|
|000006c0| 7b 0d 0a 20 20 20 20 6c | 6f 63 61 6c 20 43 6f 6e |{.. l|ocal Con|
|000006d0| 74 72 6f 6c 6c 65 72 20 | 63 3b 0d 0a 0d 0a 20 20 |troller |c;.... |
|000006e0| 20 20 69 66 20 28 21 53 | 75 70 65 72 2e 56 61 6c | if (!S|uper.Val|
|000006f0| 69 64 48 6f 6c 64 65 72 | 28 4f 74 68 65 72 29 29 |idHolder|(Other))|
|00000700| 0d 0a 20 20 20 20 20 20 | 20 20 72 65 74 75 72 6e |.. | return|
|00000710| 20 66 61 6c 73 65 3b 0d | 0a 0d 0a 20 20 20 20 63 | false;.|... c|
|00000720| 20 3d 20 50 61 77 6e 28 | 4f 74 68 65 72 29 2e 43 | = Pawn(|Other).C|
|00000730| 6f 6e 74 72 6f 6c 6c 65 | 72 3b 0d 0a 09 69 66 20 |ontrolle|r;...if |
|00000740| 28 53 61 6d 65 54 65 61 | 6d 28 63 29 29 0d 0a 09 |(SameTea|m(c))...|
|00000750| 7b 0d 0a 20 20 20 20 20 | 20 20 20 53 61 6d 65 54 |{.. | SameT|
|00000760| 65 61 6d 54 6f 75 63 68 | 28 63 29 3b 0d 0a 20 20 |eamTouch|(c);.. |
|00000770| 20 20 20 20 20 20 72 65 | 74 75 72 6e 20 66 61 6c | re|turn fal|
|00000780| 73 65 3b 0d 0a 09 7d 0d | 0a 0d 0a 20 20 20 20 72 |se;...}.|... r|
|00000790| 65 74 75 72 6e 20 74 72 | 75 65 3b 0d 0a 7d 0d 0a |eturn tr|ue;..}..|
|000007a0| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 53 61 6d 65 54 |..functi|on SameT|
|000007b0| 65 61 6d 54 6f 75 63 68 | 28 43 6f 6e 74 72 6f 6c |eamTouch|(Control|
|000007c0| 6c 65 72 20 63 29 0d 0a | 7b 0d 0a 7d 0d 0a 0d 0a |ler c)..|{..}....|
|000007d0| 2f 2f 20 45 76 65 6e 74 | 73 0d 0a 66 75 6e 63 74 |// Event|s..funct|
|000007e0| 69 6f 6e 20 4c 61 6e 64 | 65 64 28 76 65 63 74 6f |ion Land|ed(vecto|
|000007f0| 72 20 48 69 74 4e 6f 72 | 6d 61 6c 29 0d 0a 7b 0d |r HitNor|mal)..{.|
|00000800| 0a 09 6c 6f 63 61 6c 20 | 72 6f 74 61 74 6f 72 20 |..local |rotator |
|00000810| 4e 65 77 52 6f 74 3b 0d | 0a 0d 0a 09 4e 65 77 52 |NewRot;.|....NewR|
|00000820| 6f 74 20 3d 20 52 6f 74 | 28 31 36 33 38 34 2c 30 |ot = Rot|(16384,0|
|00000830| 2c 30 29 3b 0d 0a 09 4e | 65 77 52 6f 74 2e 59 61 |,0);...N|ewRot.Ya|
|00000840| 77 20 3d 20 52 6f 74 61 | 74 69 6f 6e 2e 59 61 77 |w = Rota|tion.Yaw|
|00000850| 3b 0d 0a 09 53 65 74 52 | 6f 74 61 74 69 6f 6e 28 |;...SetR|otation(|
|00000860| 4e 65 77 52 6f 74 29 3b | 0d 0a 09 53 75 70 65 72 |NewRot);|...Super|
|00000870| 2e 4c 61 6e 64 65 64 28 | 48 69 74 4e 6f 72 6d 61 |.Landed(|HitNorma|
|00000880| 6c 29 3b 0d 0a 7d 0d 0a | 0d 0a 2f 2f 20 4c 6f 67 |l);..}..|..// Log|
|00000890| 67 69 6e 67 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 4c |ging..fu|nction L|
|000008a0| 6f 67 52 65 74 75 72 6e | 65 64 28 29 3b 0d 0a 0d |ogReturn|ed();...|
|000008b0| 0a 66 75 6e 63 74 69 6f | 6e 20 4c 6f 67 44 72 6f |.functio|n LogDro|
|000008c0| 70 70 65 64 28 29 0d 0a | 7b 0d 0a 09 69 66 20 28 |pped()..|{...if (|
|000008d0| 20 62 4c 61 73 74 53 65 | 63 6f 6e 64 53 61 76 65 | bLastSe|condSave|
|000008e0| 20 29 0d 0a 09 09 42 72 | 6f 61 64 63 61 73 74 4c | )....Br|oadcastL|
|000008f0| 6f 63 61 6c 69 7a 65 64 | 4d 65 73 73 61 67 65 28 |ocalized|Message(|
|00000900| 20 63 6c 61 73 73 27 4c | 61 73 74 53 65 63 6f 6e | class'L|astSecon|
|00000910| 64 4d 65 73 73 61 67 65 | 27 2c 20 31 2c 20 48 6f |dMessage|', 1, Ho|
|00000920| 6c 64 65 72 2e 50 6c 61 | 79 65 72 52 65 70 6c 69 |lder.Pla|yerRepli|
|00000930| 63 61 74 69 6f 6e 49 6e | 66 6f 2c 20 4e 6f 6e 65 |cationIn|fo, None|
|00000940| 2c 20 54 65 61 6d 20 29 | 3b 0d 0a 09 65 6c 73 65 |, Team )|;...else|
|00000950| 0d 0a 09 09 42 72 6f 61 | 64 63 61 73 74 4c 6f 63 |....Broa|dcastLoc|
|00000960| 61 6c 69 7a 65 64 4d 65 | 73 73 61 67 65 28 20 4d |alizedMe|ssage( M|
|00000970| 65 73 73 61 67 65 43 6c | 61 73 73 2c 20 32 2c 20 |essageCl|ass, 2, |
|00000980| 48 6f 6c 64 65 72 2e 50 | 6c 61 79 65 72 52 65 70 |Holder.P|layerRep|
|00000990| 6c 69 63 61 74 69 6f 6e | 49 6e 66 6f 2c 20 4e 6f |lication|Info, No|
|000009a0| 6e 65 2c 20 54 65 61 6d | 20 29 3b 0d 0a 09 62 4c |ne, Team| );...bL|
|000009b0| 61 73 74 53 65 63 6f 6e | 64 53 61 76 65 20 3d 20 |astSecon|dSave = |
|000009c0| 66 61 6c 73 65 3b 0d 0a | 09 55 6e 72 65 61 6c 4d |false;..|.UnrealM|
|000009d0| 50 47 61 6d 65 49 6e 66 | 6f 28 4c 65 76 65 6c 2e |PGameInf|o(Level.|
|000009e0| 47 61 6d 65 29 2e 47 61 | 6d 65 45 76 65 6e 74 28 |Game).Ga|meEvent(|
|000009f0| 22 66 6c 61 67 5f 64 72 | 6f 70 70 65 64 22 2c 22 |"flag_dr|opped","|
|00000a00| 22 24 54 65 61 6d 2e 54 | 65 61 6d 49 6e 64 65 78 |"$Team.T|eamIndex|
|00000a10| 2c 20 48 6f 6c 64 65 72 | 2e 50 6c 61 79 65 72 52 |, Holder|.PlayerR|
|00000a20| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 29 3b |eplicati|onInfo);|
|00000a30| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|00000a40| 43 68 65 63 6b 50 61 69 | 6e 28 29 3b 20 2f 2f 20 |CheckPai|n(); // |
|00000a50| 73 74 75 62 0d 0a 0d 0a | 65 76 65 6e 74 20 46 65 |stub....|event Fe|
|00000a60| 6c 6c 4f 75 74 4f 66 57 | 6f 72 6c 64 28 65 4b 69 |llOutOfW|orld(eKi|
|00000a70| 6c 6c 5a 54 79 70 65 20 | 4b 69 6c 6c 54 79 70 65 |llZType |KillType|
|00000a80| 29 0d 0a 7b 0d 0a 09 42 | 72 6f 61 64 63 61 73 74 |)..{...B|roadcast|
|00000a90| 4c 6f 63 61 6c 69 7a 65 | 64 4d 65 73 73 61 67 65 |Localize|dMessage|
|00000aa0| 28 20 4d 65 73 73 61 67 | 65 43 6c 61 73 73 2c 20 |( Messag|eClass, |
|00000ab0| 33 2c 20 4e 6f 6e 65 2c | 20 4e 6f 6e 65 2c 20 54 |3, None,| None, T|
|00000ac0| 65 61 6d 20 29 3b 0d 0a | 20 20 20 20 53 65 6e 64 |eam );..| Send|
|00000ad0| 48 6f 6d 65 28 29 3b 0d | 0a 7d 0d 0a 0d 0a 2f 2f |Home();.|.}....//|
|00000ae0| 20 53 74 61 74 65 73 0d | 0a 61 75 74 6f 20 73 74 | States.|.auto st|
|00000af0| 61 74 65 20 48 6f 6d 65 | 0d 0a 7b 0d 0a 20 20 20 |ate Home|..{.. |
|00000b00| 20 69 67 6e 6f 72 65 73 | 20 53 65 6e 64 48 6f 6d | ignores| SendHom|
|00000b10| 65 2c 20 53 63 6f 72 65 | 2c 20 44 72 6f 70 3b 0d |e, Score|, Drop;.|
|00000b20| 0a 0d 0a 20 20 20 20 66 | 75 6e 63 74 69 6f 6e 20 |... f|unction |
|00000b30| 53 61 6d 65 54 65 61 6d | 54 6f 75 63 68 28 43 6f |SameTeam|Touch(Co|
|00000b40| 6e 74 72 6f 6c 6c 65 72 | 20 63 29 0d 0a 20 20 20 |ntroller| c).. |
|00000b50| 20 7b 0d 0a 20 20 20 20 | 20 20 20 20 6c 6f 63 61 | {.. | loca|
|00000b60| 6c 20 43 54 46 46 6c 61 | 67 20 66 6c 61 67 3b 0d |l CTFFla|g flag;.|
|00000b70| 0a 0d 0a 20 20 20 20 20 | 20 20 20 69 66 20 28 43 |... | if (C|
|00000b80| 2e 50 6c 61 79 65 72 52 | 65 70 6c 69 63 61 74 69 |.PlayerR|eplicati|
|00000b90| 6f 6e 49 6e 66 6f 2e 48 | 61 73 46 6c 61 67 20 3d |onInfo.H|asFlag =|
|00000ba0| 3d 20 4e 6f 6e 65 29 0d | 0a 20 20 20 20 20 20 20 |= None).|. |
|00000bb0| 20 20 20 20 20 72 65 74 | 75 72 6e 3b 0d 0a 0d 0a | ret|urn;....|
|00000bc0| 20 20 20 20 20 20 20 20 | 2f 2f 20 53 63 6f 72 65 | |// Score|
|00000bd0| 21 0d 0a 20 20 20 20 20 | 20 20 20 66 6c 61 67 20 |!.. | flag |
|00000be0| 3d 20 43 54 46 46 6c 61 | 67 28 43 2e 50 6c 61 79 |= CTFFla|g(C.Play|
|00000bf0| 65 72 52 65 70 6c 69 63 | 61 74 69 6f 6e 49 6e 66 |erReplic|ationInf|
|00000c00| 6f 2e 48 61 73 46 6c 61 | 67 29 3b 0d 0a 20 20 20 |o.HasFla|g);.. |
|00000c10| 20 20 20 20 20 55 6e 72 | 65 61 6c 4d 50 47 61 6d | Unr|ealMPGam|
|00000c20| 65 49 6e 66 6f 28 4c 65 | 76 65 6c 2e 47 61 6d 65 |eInfo(Le|vel.Game|
|00000c30| 29 2e 53 63 6f 72 65 47 | 61 6d 65 4f 62 6a 65 63 |).ScoreG|ameObjec|
|00000c40| 74 28 43 2c 20 66 6c 61 | 67 29 3b 0d 0a 20 20 20 |t(C, fla|g);.. |
|00000c50| 20 20 20 20 20 66 6c 61 | 67 2e 53 63 6f 72 65 28 | fla|g.Score(|
|00000c60| 29 3b 0d 0a 09 09 54 72 | 69 67 67 65 72 45 76 65 |);....Tr|iggerEve|
|00000c70| 6e 74 28 48 6f 6d 65 42 | 61 73 65 2e 45 76 65 6e |nt(HomeB|ase.Even|
|00000c80| 74 2c 48 6f 6d 65 42 61 | 73 65 2c 43 2e 50 61 77 |t,HomeBa|se,C.Paw|
|00000c90| 6e 29 3b 0d 0a 20 20 20 | 20 20 20 20 20 69 66 20 |n);.. | if |
|00000ca0| 28 42 6f 74 28 43 29 20 | 21 3d 20 4e 6f 6e 65 29 |(Bot(C) |!= None)|
|00000cb0| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 42 6f |.. | Bo|
|00000cc0| 74 28 43 29 2e 53 71 75 | 61 64 2e 53 65 74 41 6c |t(C).Squ|ad.SetAl|
|00000cd0| 74 65 72 6e 61 74 65 50 | 61 74 68 28 74 72 75 65 |ternateP|ath(true|
|00000ce0| 29 3b 0d 0a 20 20 20 20 | 7d 0d 0a 0d 0a 20 20 20 |);.. |}.... |
|00000cf0| 20 66 75 6e 63 74 69 6f | 6e 20 4c 6f 67 54 61 6b | functio|n LogTak|
|00000d00| 65 6e 28 43 6f 6e 74 72 | 6f 6c 6c 65 72 20 63 29 |en(Contr|oller c)|
|00000d10| 0d 0a 20 20 20 20 7b 0d | 0a 20 20 20 20 20 20 20 |.. {.|. |
|00000d20| 20 42 72 6f 61 64 63 61 | 73 74 4c 6f 63 61 6c 69 | Broadca|stLocali|
|00000d30| 7a 65 64 4d 65 73 73 61 | 67 65 28 20 4d 65 73 73 |zedMessa|ge( Mess|
|00000d40| 61 67 65 43 6c 61 73 73 | 2c 20 36 2c 20 43 2e 50 |ageClass|, 6, C.P|
|00000d50| 6c 61 79 65 72 52 65 70 | 6c 69 63 61 74 69 6f 6e |layerRep|lication|
|00000d60| 49 6e 66 6f 2c 20 4e 6f | 6e 65 2c 20 54 65 61 6d |Info, No|ne, Team|
|00000d70| 20 29 3b 0d 0a 20 20 20 | 20 20 20 20 20 55 6e 72 | );.. | Unr|
|00000d80| 65 61 6c 4d 50 47 61 6d | 65 49 6e 66 6f 28 4c 65 |ealMPGam|eInfo(Le|
|00000d90| 76 65 6c 2e 47 61 6d 65 | 29 2e 47 61 6d 65 45 76 |vel.Game|).GameEv|
|00000da0| 65 6e 74 28 22 66 6c 61 | 67 5f 74 61 6b 65 6e 22 |ent("fla|g_taken"|
|00000db0| 2c 22 22 24 54 65 61 6d | 2e 54 65 61 6d 49 6e 64 |,""$Team|.TeamInd|
|00000dc0| 65 78 2c 43 2e 50 6c 61 | 79 65 72 52 65 70 6c 69 |ex,C.Pla|yerRepli|
|00000dd0| 63 61 74 69 6f 6e 49 6e | 66 6f 29 3b 0d 0a 20 20 |cationIn|fo);.. |
|00000de0| 20 20 7d 0d 0a 0d 0a 09 | 66 75 6e 63 74 69 6f 6e | }.....|function|
|00000df0| 20 54 69 6d 65 72 28 29 | 0d 0a 09 7b 0d 0a 09 09 | Timer()|...{....|
|00000e00| 69 66 20 28 20 56 53 69 | 7a 65 28 4c 6f 63 61 74 |if ( VSi|ze(Locat|
|00000e10| 69 6f 6e 20 2d 20 48 6f | 6d 65 42 61 73 65 2e 4c |ion - Ho|meBase.L|
|00000e20| 6f 63 61 74 69 6f 6e 29 | 20 3e 20 31 30 20 29 0d |ocation)| > 10 ).|
|00000e30| 0a 09 09 7b 0d 0a 09 09 | 09 55 6e 72 65 61 6c 4d |...{....|.UnrealM|
|00000e40| 50 47 61 6d 65 49 6e 66 | 6f 28 4c 65 76 65 6c 2e |PGameInf|o(Level.|
|00000e50| 47 61 6d 65 29 2e 47 61 | 6d 65 45 76 65 6e 74 28 |Game).Ga|meEvent(|
|00000e60| 22 66 6c 61 67 5f 72 65 | 74 75 72 6e 65 64 5f 74 |"flag_re|turned_t|
|00000e70| 69 6d 65 6f 75 74 22 2c | 22 22 24 54 65 61 6d 2e |imeout",|""$Team.|
|00000e80| 54 65 61 6d 49 6e 64 65 | 78 2c 4e 6f 6e 65 29 3b |TeamInde|x,None);|
|00000e90| 0d 0a 09 09 09 42 72 6f | 61 64 63 61 73 74 4c 6f |.....Bro|adcastLo|
|00000ea0| 63 61 6c 69 7a 65 64 4d | 65 73 73 61 67 65 28 20 |calizedM|essage( |
|00000eb0| 4d 65 73 73 61 67 65 43 | 6c 61 73 73 2c 20 33 2c |MessageC|lass, 3,|
|00000ec0| 20 4e 6f 6e 65 2c 20 4e | 6f 6e 65 2c 20 54 65 61 | None, N|one, Tea|
|00000ed0| 6d 20 29 3b 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |m );.. | |
|00000ee0| 20 20 6c 6f 67 28 73 65 | 6c 66 24 22 20 48 6f 6d | log(se|lf$" Hom|
|00000ef0| 65 2e 54 69 6d 65 72 3a | 20 68 61 64 20 74 6f 20 |e.Timer:| had to |
|00000f00| 73 65 6e 64 68 6f 6d 65 | 22 2c 20 27 45 72 72 6f |sendhome|", 'Erro|
|00000f10| 72 27 29 3b 0d 0a 09 09 | 09 53 65 6e 64 48 6f 6d |r');....|.SendHom|
|00000f20| 65 28 29 3b 0d 0a 09 09 | 7d 0d 0a 09 7d 0d 0a 0d |e();....|}...}...|
|00000f30| 0a 09 66 75 6e 63 74 69 | 6f 6e 20 42 65 67 69 6e |..functi|on Begin|
|00000f40| 53 74 61 74 65 28 29 0d | 0a 09 7b 0d 0a 20 20 20 |State().|..{.. |
|00000f50| 20 20 20 20 20 53 75 70 | 65 72 2e 42 65 67 69 6e | Sup|er.Begin|
|00000f60| 53 74 61 74 65 28 29 3b | 0d 0a 20 20 20 20 20 20 |State();|.. |
|00000f70| 20 20 4c 65 76 65 6c 2e | 47 61 6d 65 2e 47 61 6d | Level.|Game.Gam|
|00000f80| 65 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |eReplica|tionInfo|
|00000f90| 2e 46 6c 61 67 53 74 61 | 74 65 5b 54 65 61 6d 4e |.FlagSta|te[TeamN|
|00000fa0| 75 6d 5d 20 3d 20 45 46 | 6c 61 67 53 74 61 74 65 |um] = EF|lagState|
|00000fb0| 2e 46 4c 41 47 5f 48 6f | 6d 65 3b 0d 0a 09 09 62 |.FLAG_Ho|me;....b|
|00000fc0| 48 69 64 64 65 6e 20 3d | 20 74 72 75 65 3b 0d 0a |Hidden =| true;..|
|00000fd0| 09 09 48 6f 6d 65 42 61 | 73 65 2e 62 48 69 64 64 |..HomeBa|se.bHidd|
|00000fe0| 65 6e 20 3d 20 66 61 6c | 73 65 3b 0d 0a 09 09 48 |en = fal|se;....H|
|00000ff0| 6f 6d 65 42 61 73 65 2e | 54 69 6d 65 72 28 29 3b |omeBase.|Timer();|
|00001000| 0d 0a 09 09 48 6f 6d 65 | 42 61 73 65 2e 4e 65 74 |....Home|Base.Net|
|00001010| 55 70 64 61 74 65 54 69 | 6d 65 20 3d 20 4c 65 76 |UpdateTi|me = Lev|
|00001020| 65 6c 2e 54 69 6d 65 53 | 65 63 6f 6e 64 73 20 2d |el.TimeS|econds -|
|00001030| 20 31 3b 0d 0a 09 09 53 | 65 74 54 69 6d 65 72 28 | 1;....S|etTimer(|
|00001040| 31 2e 30 2c 20 74 72 75 | 65 29 3b 0d 0a 09 7d 0d |1.0, tru|e);...}.|
|00001050| 0a 0d 0a 09 66 75 6e 63 | 74 69 6f 6e 20 45 6e 64 |....func|tion End|
|00001060| 53 74 61 74 65 28 29 0d | 0a 09 7b 0d 0a 20 20 20 |State().|..{.. |
|00001070| 20 20 20 20 20 53 75 70 | 65 72 2e 45 6e 64 53 74 | Sup|er.EndSt|
|00001080| 61 74 65 28 29 3b 0d 0a | 09 09 62 48 69 64 64 65 |ate();..|..bHidde|
|00001090| 6e 20 3d 20 66 61 6c 73 | 65 3b 0d 0a 09 09 48 6f |n = fals|e;....Ho|
|000010a0| 6d 65 42 61 73 65 2e 62 | 48 69 64 64 65 6e 20 3d |meBase.b|Hidden =|
|000010b0| 20 74 72 75 65 3b 0d 0a | 09 09 48 6f 6d 65 42 61 | true;..|..HomeBa|
|000010c0| 73 65 2e 50 6c 61 79 41 | 6c 61 72 6d 28 29 3b 0d |se.PlayA|larm();.|
|000010d0| 0a 09 09 48 6f 6d 65 42 | 61 73 65 2e 4e 65 74 55 |...HomeB|ase.NetU|
|000010e0| 70 64 61 74 65 54 69 6d | 65 20 3d 20 4c 65 76 65 |pdateTim|e = Leve|
|000010f0| 6c 2e 54 69 6d 65 53 65 | 63 6f 6e 64 73 20 2d 20 |l.TimeSe|conds - |
|00001100| 31 3b 0d 0a 09 09 53 65 | 74 54 69 6d 65 72 28 30 |1;....Se|tTimer(0|
|00001110| 2e 30 2c 20 66 61 6c 73 | 65 29 3b 0d 0a 09 7d 0d |.0, fals|e);...}.|
|00001120| 0a 7d 0d 0a 0d 0a 73 74 | 61 74 65 20 48 65 6c 64 |.}....st|ate Held|
|00001130| 0d 0a 7b 0d 0a 20 20 20 | 20 69 67 6e 6f 72 65 73 |..{.. | ignores|
|00001140| 20 53 65 74 48 6f 6c 64 | 65 72 2c 20 53 65 6e 64 | SetHold|er, Send|
|00001150| 48 6f 6d 65 3b 0d 0a 0d | 0a 09 66 75 6e 63 74 69 |Home;...|..functi|
|00001160| 6f 6e 20 54 69 6d 65 72 | 28 29 0d 0a 09 7b 0d 0a |on Timer|()...{..|
|00001170| 09 09 69 66 20 28 48 6f | 6c 64 65 72 20 3d 3d 20 |..if (Ho|lder == |
|00001180| 4e 6f 6e 65 29 0d 0a 20 | 20 20 20 20 20 20 20 7b |None).. | {|
|00001190| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 6c 6f |.. | lo|
|000011a0| 67 28 73 65 6c 66 24 22 | 20 48 65 6c 64 2e 54 69 |g(self$"| Held.Ti|
|000011b0| 6d 65 72 3a 20 68 61 64 | 20 74 6f 20 73 65 6e 64 |mer: had| to send|
|000011c0| 68 6f 6d 65 22 2c 20 27 | 45 72 72 6f 72 27 29 3b |home", '|Error');|
|000011d0| 0d 0a 09 09 09 55 6e 72 | 65 61 6c 4d 50 47 61 6d |.....Unr|ealMPGam|
|000011e0| 65 49 6e 66 6f 28 4c 65 | 76 65 6c 2e 47 61 6d 65 |eInfo(Le|vel.Game|
|000011f0| 29 2e 47 61 6d 65 45 76 | 65 6e 74 28 22 66 6c 61 |).GameEv|ent("fla|
|00001200| 67 5f 72 65 74 75 72 6e | 65 64 5f 74 69 6d 65 6f |g_return|ed_timeo|
|00001210| 75 74 22 2c 22 22 24 54 | 65 61 6d 2e 54 65 61 6d |ut",""$T|eam.Team|
|00001220| 49 6e 64 65 78 2c 4e 6f | 6e 65 29 3b 0d 0a 09 09 |Index,No|ne);....|
|00001230| 09 42 72 6f 61 64 63 61 | 73 74 4c 6f 63 61 6c 69 |.Broadca|stLocali|
|00001240| 7a 65 64 4d 65 73 73 61 | 67 65 28 20 4d 65 73 73 |zedMessa|ge( Mess|
|00001250| 61 67 65 43 6c 61 73 73 | 2c 20 33 2c 20 4e 6f 6e |ageClass|, 3, Non|
|00001260| 65 2c 20 4e 6f 6e 65 2c | 20 54 65 61 6d 20 29 3b |e, None,| Team );|
|00001270| 0d 0a 09 09 09 53 65 6e | 64 48 6f 6d 65 28 29 3b |.....Sen|dHome();|
|00001280| 0d 0a 20 20 20 20 20 20 | 20 20 7d 0d 0a 09 7d 0d |.. | }...}.|
|00001290| 0a 0d 0a 09 66 75 6e 63 | 74 69 6f 6e 20 42 65 67 |....func|tion Beg|
|000012a0| 69 6e 53 74 61 74 65 28 | 29 0d 0a 09 7b 0d 0a 20 |inState(|)...{.. |
|000012b0| 20 20 20 20 20 20 20 4c | 65 76 65 6c 2e 47 61 6d | L|evel.Gam|
|000012c0| 65 2e 47 61 6d 65 52 65 | 70 6c 69 63 61 74 69 6f |e.GameRe|plicatio|
|000012d0| 6e 49 6e 66 6f 2e 46 6c | 61 67 53 74 61 74 65 5b |nInfo.Fl|agState[|
|000012e0| 54 65 61 6d 4e 75 6d 5d | 20 3d 20 45 46 6c 61 67 |TeamNum]| = EFlag|
|000012f0| 53 74 61 74 65 2e 46 4c | 41 47 5f 48 65 6c 64 45 |State.FL|AG_HeldE|
|00001300| 6e 65 6d 79 3b 0d 0a 20 | 20 20 20 20 20 20 20 53 |nemy;.. | S|
|00001310| 75 70 65 72 2e 42 65 67 | 69 6e 53 74 61 74 65 28 |uper.Beg|inState(|
|00001320| 29 3b 0d 0a 09 09 53 65 | 74 54 69 6d 65 72 28 31 |);....Se|tTimer(1|
|00001330| 30 2e 30 2c 20 74 72 75 | 65 29 3b 0d 0a 09 7d 0d |0.0, tru|e);...}.|
|00001340| 0a 7d 0d 0a 0d 0a 0d 0a | 73 74 61 74 65 20 44 72 |.}......|state Dr|
|00001350| 6f 70 70 65 64 0d 0a 7b | 0d 0a 20 20 20 69 67 6e |opped..{|.. ign|
|00001360| 6f 72 65 73 20 44 72 6f | 70 3b 0d 0a 0d 0a 20 20 |ores Dro|p;.... |
|00001370| 20 66 75 6e 63 74 69 6f | 6e 20 53 61 6d 65 54 65 | functio|n SameTe|
|00001380| 61 6d 54 6f 75 63 68 28 | 43 6f 6e 74 72 6f 6c 6c |amTouch(|Controll|
|00001390| 65 72 20 63 29 0d 0a 09 | 7b 0d 0a 09 09 2f 2f 20 |er c)...|{....// |
|000013a0| 72 65 74 75 72 6e 65 64 | 20 66 6c 61 67 0d 0a 09 |returned| flag...|
|000013b0| 09 55 6e 72 65 61 6c 4d | 50 47 61 6d 65 49 6e 66 |.UnrealM|PGameInf|
|000013c0| 6f 28 4c 65 76 65 6c 2e | 47 61 6d 65 29 2e 53 63 |o(Level.|Game).Sc|
|000013d0| 6f 72 65 47 61 6d 65 4f | 62 6a 65 63 74 28 43 2c |oreGameO|bject(C,|
|000013e0| 20 73 65 6c 66 29 3b 0d | 0a 09 09 53 65 6e 64 48 | self);.|...SendH|
|000013f0| 6f 6d 65 28 29 3b 0d 0a | 09 7d 0d 0a 0d 0a 20 20 |ome();..|.}.... |
|00001400| 20 20 66 75 6e 63 74 69 | 6f 6e 20 4c 6f 67 54 61 | functi|on LogTa|
|00001410| 6b 65 6e 28 43 6f 6e 74 | 72 6f 6c 6c 65 72 20 63 |ken(Cont|roller c|
|00001420| 29 0d 0a 20 20 20 20 7b | 0d 0a 20 20 20 20 20 20 |).. {|.. |
|00001430| 20 20 55 6e 72 65 61 6c | 4d 50 47 61 6d 65 49 6e | Unreal|MPGameIn|
|00001440| 66 6f 28 4c 65 76 65 6c | 2e 47 61 6d 65 29 2e 47 |fo(Level|.Game).G|
|00001450| 61 6d 65 45 76 65 6e 74 | 28 22 66 6c 61 67 5f 70 |ameEvent|("flag_p|
|00001460| 69 63 6b 75 70 22 2c 22 | 22 24 54 65 61 6d 2e 54 |ickup","|"$Team.T|
|00001470| 65 61 6d 49 6e 64 65 78 | 2c 43 2e 50 6c 61 79 65 |eamIndex|,C.Playe|
|00001480| 72 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |rReplica|tionInfo|
|00001490| 29 3b 0d 0a 20 20 20 20 | 20 20 20 20 42 72 6f 61 |);.. | Broa|
|000014a0| 64 63 61 73 74 4c 6f 63 | 61 6c 69 7a 65 64 4d 65 |dcastLoc|alizedMe|
|000014b0| 73 73 61 67 65 28 20 4d | 65 73 73 61 67 65 43 6c |ssage( M|essageCl|
|000014c0| 61 73 73 2c 20 34 2c 20 | 43 2e 50 6c 61 79 65 72 |ass, 4, |C.Player|
|000014d0| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 2c |Replicat|ionInfo,|
|000014e0| 20 4e 6f 6e 65 2c 20 54 | 65 61 6d 20 29 3b 0d 0a | None, T|eam );..|
|000014f0| 20 20 20 20 7d 0d 0a 0d | 0a 20 20 20 20 66 75 6e | }...|. fun|
|00001500| 63 74 69 6f 6e 20 43 68 | 65 63 6b 46 69 74 28 29 |ction Ch|eckFit()|
|00001510| 0d 0a 20 20 20 20 7b 0d | 0a 09 20 20 20 20 6c 6f |.. {.|.. lo|
|00001520| 63 61 6c 20 76 65 63 74 | 6f 72 20 58 2c 59 2c 5a |cal vect|or X,Y,Z|
|00001530| 3b 0d 0a 0d 0a 09 20 20 | 20 20 47 65 74 41 78 65 |;..... | GetAxe|
|00001540| 73 28 4f 6c 64 48 6f 6c | 64 65 72 2e 52 6f 74 61 |s(OldHol|der.Rota|
|00001550| 74 69 6f 6e 2c 20 58 2c | 59 2c 5a 29 3b 0d 0a 09 |tion, X,|Y,Z);...|
|00001560| 20 20 20 20 53 65 74 52 | 6f 74 61 74 69 6f 6e 28 | SetR|otation(|
|00001570| 72 6f 74 61 74 6f 72 28 | 2d 31 20 2a 20 58 29 29 |rotator(|-1 * X))|
|00001580| 3b 0d 0a 09 20 20 20 20 | 69 66 20 28 20 21 53 65 |;... |if ( !Se|
|00001590| 74 4c 6f 63 61 74 69 6f | 6e 28 4f 6c 64 48 6f 6c |tLocatio|n(OldHol|
|000015a0| 64 65 72 2e 4c 6f 63 61 | 74 69 6f 6e 20 2d 20 32 |der.Loca|tion - 2|
|000015b0| 20 2a 20 4f 6c 64 48 6f | 6c 64 65 72 2e 43 6f 6c | * OldHo|lder.Col|
|000015c0| 6c 69 73 69 6f 6e 52 61 | 64 69 75 73 20 2a 20 58 |lisionRa|dius * X|
|000015d0| 20 2b 20 4f 6c 64 48 6f | 6c 64 65 72 2e 43 6f 6c | + OldHo|lder.Col|
|000015e0| 6c 69 73 69 6f 6e 48 65 | 69 67 68 74 20 2a 20 76 |lisionHe|ight * v|
|000015f0| 65 63 74 28 30 2c 30 2c | 30 2e 35 29 29 0d 0a 09 |ect(0,0,|0.5))...|
|00001600| 09 20 20 20 20 26 26 20 | 21 53 65 74 4c 6f 63 61 |. && |!SetLoca|
|00001610| 74 69 6f 6e 28 4f 6c 64 | 48 6f 6c 64 65 72 2e 4c |tion(Old|Holder.L|
|00001620| 6f 63 61 74 69 6f 6e 29 | 20 29 0d 0a 09 20 20 20 |ocation)| )... |
|00001630| 20 7b 0d 0a 09 09 20 20 | 20 20 53 65 74 43 6f 6c | {.... | SetCol|
|00001640| 6c 69 73 69 6f 6e 53 69 | 7a 65 28 30 2e 38 20 2a |lisionSi|ze(0.8 *|
|00001650| 20 4f 6c 64 48 6f 6c 64 | 65 72 2e 43 6f 6c 6c 69 | OldHold|er.Colli|
|00001660| 73 69 6f 6e 52 61 64 69 | 75 73 2c 20 46 4d 69 6e |sionRadi|us, FMin|
|00001670| 28 43 6f 6c 6c 69 73 69 | 6f 6e 48 65 69 67 68 74 |(Collisi|onHeight|
|00001680| 2c 20 30 2e 38 20 2a 20 | 4f 6c 64 48 6f 6c 64 65 |, 0.8 * |OldHolde|
|00001690| 72 2e 43 6f 6c 6c 69 73 | 69 6f 6e 48 65 69 67 68 |r.Collis|ionHeigh|
|000016a0| 74 29 29 3b 0d 0a 09 09 | 20 20 20 20 69 66 20 28 |t));....| if (|
|000016b0| 20 21 53 65 74 4c 6f 63 | 61 74 69 6f 6e 28 4f 6c | !SetLoc|ation(Ol|
|000016c0| 64 48 6f 6c 64 65 72 2e | 4c 6f 63 61 74 69 6f 6e |dHolder.|Location|
|000016d0| 29 20 29 0d 0a 09 09 20 | 20 20 20 7b 0d 0a 20 20 |) ).... | {.. |
|000016e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2f 2f | | //|
|000016f0| 6c 6f 67 28 73 65 6c 66 | 24 22 20 44 72 6f 70 20 |log(self|$" Drop |
|00001700| 73 65 6e 74 20 66 6c 61 | 67 20 68 6f 6d 65 22 2c |sent fla|g home",|
|00001710| 20 27 45 72 72 6f 72 27 | 29 3b 0d 0a 09 09 09 09 | 'Error'|);......|
|00001720| 55 6e 72 65 61 6c 4d 50 | 47 61 6d 65 49 6e 66 6f |UnrealMP|GameInfo|
|00001730| 28 4c 65 76 65 6c 2e 47 | 61 6d 65 29 2e 47 61 6d |(Level.G|ame).Gam|
|00001740| 65 45 76 65 6e 74 28 22 | 66 6c 61 67 5f 72 65 74 |eEvent("|flag_ret|
|00001750| 75 72 6e 65 64 5f 74 69 | 6d 65 6f 75 74 22 2c 22 |urned_ti|meout","|
|00001760| 22 24 54 65 61 6d 2e 54 | 65 61 6d 49 6e 64 65 78 |"$Team.T|eamIndex|
|00001770| 2c 4e 6f 6e 65 29 3b 0d | 0a 09 09 09 09 42 72 6f |,None);.|.....Bro|
|00001780| 61 64 63 61 73 74 4c 6f | 63 61 6c 69 7a 65 64 4d |adcastLo|calizedM|
|00001790| 65 73 73 61 67 65 28 20 | 4d 65 73 73 61 67 65 43 |essage( |MessageC|
|000017a0| 6c 61 73 73 2c 20 33 2c | 20 4e 6f 6e 65 2c 20 4e |lass, 3,| None, N|
|000017b0| 6f 6e 65 2c 20 54 65 61 | 6d 20 29 3b 0d 0a 09 09 |one, Tea|m );....|
|000017c0| 09 20 20 20 20 53 65 6e | 64 48 6f 6d 65 28 29 3b |. Sen|dHome();|
|000017d0| 0d 0a 09 09 09 20 20 20 | 20 72 65 74 75 72 6e 3b |..... | return;|
|000017e0| 0d 0a 09 09 20 20 20 20 | 7d 0d 0a 09 20 20 20 20 |.... |}... |
|000017f0| 7d 0d 0a 20 20 20 20 7d | 0d 0a 0d 0a 20 20 20 20 |}.. }|.... |
|00001800| 66 75 6e 63 74 69 6f 6e | 20 43 68 65 63 6b 50 61 |function| CheckPa|
|00001810| 69 6e 28 29 0d 0a 20 20 | 20 20 7b 0d 0a 20 20 20 |in().. | {.. |
|00001820| 20 20 20 20 20 69 66 20 | 28 49 73 49 6e 50 61 69 | if |(IsInPai|
|00001830| 6e 28 29 29 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |n()).. | |
|00001840| 20 20 74 69 6d 65 72 28 | 29 3b 0d 0a 20 20 20 20 | timer(|);.. |
|00001850| 7d 0d 0a 0d 0a 09 66 75 | 6e 63 74 69 6f 6e 20 54 |}.....fu|nction T|
|00001860| 61 6b 65 44 61 6d 61 67 | 65 28 20 69 6e 74 20 4e |akeDamag|e( int N|
|00001870| 44 61 6d 61 67 65 2c 20 | 50 61 77 6e 20 69 6e 73 |Damage, |Pawn ins|
|00001880| 74 69 67 61 74 65 64 42 | 79 2c 20 56 65 63 74 6f |tigatedB|y, Vecto|
|00001890| 72 20 68 69 74 6c 6f 63 | 61 74 69 6f 6e 2c 20 56 |r hitloc|ation, V|
|000018a0| 65 63 74 6f 72 20 6d 6f | 6d 65 6e 74 75 6d 2c 20 |ector mo|mentum, |
|000018b0| 63 6c 61 73 73 3c 44 61 | 6d 61 67 65 54 79 70 65 |class<Da|mageType|
|000018c0| 3e 20 64 61 6d 61 67 65 | 54 79 70 65 29 0d 0a 09 |> damage|Type)...|
|000018d0| 7b 0d 0a 20 20 20 20 20 | 20 20 20 43 68 65 63 6b |{.. | Check|
|000018e0| 50 61 69 6e 28 29 3b 0d | 0a 09 7d 0d 0a 0d 0a 09 |Pain();.|..}.....|
|000018f0| 73 69 6e 67 75 6c 61 72 | 20 66 75 6e 63 74 69 6f |singular| functio|
|00001900| 6e 20 50 68 79 73 69 63 | 73 56 6f 6c 75 6d 65 43 |n Physic|sVolumeC|
|00001910| 68 61 6e 67 65 28 20 50 | 68 79 73 69 63 73 56 6f |hange( P|hysicsVo|
|00001920| 6c 75 6d 65 20 4e 65 77 | 56 6f 6c 75 6d 65 20 29 |lume New|Volume )|
|00001930| 0d 0a 09 7b 0d 0a 09 09 | 53 75 70 65 72 2e 50 68 |...{....|Super.Ph|
|00001940| 79 73 69 63 73 56 6f 6c | 75 6d 65 43 68 61 6e 67 |ysicsVol|umeChang|
|00001950| 65 28 4e 65 77 56 6f 6c | 75 6d 65 29 3b 0d 0a 20 |e(NewVol|ume);.. |
|00001960| 20 20 20 20 20 20 20 43 | 68 65 63 6b 50 61 69 6e | C|heckPain|
|00001970| 28 29 3b 0d 0a 09 7d 0d | 0a 0d 0a 09 66 75 6e 63 |();...}.|....func|
|00001980| 74 69 6f 6e 20 42 65 67 | 69 6e 53 74 61 74 65 28 |tion Beg|inState(|
|00001990| 29 0d 0a 09 7b 0d 0a 20 | 20 20 20 20 20 20 20 4c |)...{.. | L|
|000019a0| 65 76 65 6c 2e 47 61 6d | 65 2e 47 61 6d 65 52 65 |evel.Gam|e.GameRe|
|000019b0| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 2e 46 6c |plicatio|nInfo.Fl|
|000019c0| 61 67 53 74 61 74 65 5b | 54 65 61 6d 4e 75 6d 5d |agState[|TeamNum]|
|000019d0| 20 3d 20 45 46 6c 61 67 | 53 74 61 74 65 2e 46 4c | = EFlag|State.FL|
|000019e0| 41 47 5f 44 6f 77 6e 3b | 0d 0a 20 20 20 20 20 20 |AG_Down;|.. |
|000019f0| 20 20 53 75 70 65 72 2e | 42 65 67 69 6e 53 74 61 | Super.|BeginSta|
|00001a00| 74 65 28 29 3b 0d 0a 09 | 20 20 20 20 62 43 6f 6c |te();...| bCol|
|00001a10| 6c 69 64 65 57 6f 72 6c | 64 20 3d 20 74 72 75 65 |lideWorl|d = true|
|00001a20| 3b 0d 0a 09 20 20 20 20 | 53 65 74 43 6f 6c 6c 69 |;... |SetColli|
|00001a30| 73 69 6f 6e 53 69 7a 65 | 28 30 2e 35 20 2a 20 64 |sionSize|(0.5 * d|
|00001a40| 65 66 61 75 6c 74 2e 43 | 6f 6c 6c 69 73 69 6f 6e |efault.C|ollision|
|00001a50| 52 61 64 69 75 73 2c 20 | 43 6f 6c 6c 69 73 69 6f |Radius, |Collisio|
|00001a60| 6e 48 65 69 67 68 74 29 | 3b 0d 0a 20 20 20 20 20 |nHeight)|;.. |
|00001a70| 20 20 20 53 65 74 43 6f | 6c 6c 69 73 69 6f 6e 28 | SetCo|llision(|
|00001a80| 74 72 75 65 2c 20 66 61 | 6c 73 65 2c 20 66 61 6c |true, fa|lse, fal|
|00001a90| 73 65 29 3b 0d 0a 20 20 | 20 20 20 20 20 20 43 68 |se);.. | Ch|
|00001aa0| 65 63 6b 46 69 74 28 29 | 3b 0d 0a 20 20 20 20 20 |eckFit()|;.. |
|00001ab0| 20 20 20 43 68 65 63 6b | 50 61 69 6e 28 29 3b 0d | Check|Pain();.|
|00001ac0| 0a 09 09 53 65 74 54 69 | 6d 65 72 28 4d 61 78 44 |...SetTi|mer(MaxD|
|00001ad0| 72 6f 70 54 69 6d 65 2c | 20 66 61 6c 73 65 29 3b |ropTime,| false);|
|00001ae0| 0d 0a 09 7d 0d 0a 0d 0a | 20 20 20 20 66 75 6e 63 |...}....| func|
|00001af0| 74 69 6f 6e 20 45 6e 64 | 53 74 61 74 65 28 29 0d |tion End|State().|
|00001b00| 0a 20 20 20 20 7b 0d 0a | 20 20 20 20 20 20 20 20 |. {..| |
|00001b10| 53 75 70 65 72 2e 45 6e | 64 53 74 61 74 65 28 29 |Super.En|dState()|
|00001b20| 3b 0d 0a 09 09 62 43 6f | 6c 6c 69 64 65 57 6f 72 |;....bCo|llideWor|
|00001b30| 6c 64 20 3d 20 66 61 6c | 73 65 3b 0d 0a 09 09 53 |ld = fal|se;....S|
|00001b40| 65 74 43 6f 6c 6c 69 73 | 69 6f 6e 53 69 7a 65 28 |etCollis|ionSize(|
|00001b50| 64 65 66 61 75 6c 74 2e | 43 6f 6c 6c 69 73 69 6f |default.|Collisio|
|00001b60| 6e 52 61 64 69 75 73 2c | 20 64 65 66 61 75 6c 74 |nRadius,| default|
|00001b70| 2e 43 6f 6c 6c 69 73 69 | 6f 6e 48 65 69 67 68 74 |.Collisi|onHeight|
|00001b80| 29 3b 0d 0a 20 20 20 20 | 7d 0d 0a 0d 0a 09 66 75 |);.. |}.....fu|
|00001b90| 6e 63 74 69 6f 6e 20 54 | 69 6d 65 72 28 29 0d 0a |nction T|imer()..|
|00001ba0| 09 7b 0d 0a 09 09 42 72 | 6f 61 64 63 61 73 74 4c |.{....Br|oadcastL|
|00001bb0| 6f 63 61 6c 69 7a 65 64 | 4d 65 73 73 61 67 65 28 |ocalized|Message(|
|00001bc0| 20 4d 65 73 73 61 67 65 | 43 6c 61 73 73 2c 20 33 | Message|Class, 3|
|00001bd0| 2c 20 4e 6f 6e 65 2c 20 | 4e 6f 6e 65 2c 20 54 65 |, None, |None, Te|
|00001be0| 61 6d 20 29 3b 0d 0a 09 | 09 55 6e 72 65 61 6c 4d |am );...|.UnrealM|
|00001bf0| 50 47 61 6d 65 49 6e 66 | 6f 28 4c 65 76 65 6c 2e |PGameInf|o(Level.|
|00001c00| 47 61 6d 65 29 2e 47 61 | 6d 65 45 76 65 6e 74 28 |Game).Ga|meEvent(|
|00001c10| 22 66 6c 61 67 5f 72 65 | 74 75 72 6e 65 64 5f 74 |"flag_re|turned_t|
|00001c20| 69 6d 65 6f 75 74 22 2c | 22 22 24 54 65 61 6d 2e |imeout",|""$Team.|
|00001c30| 54 65 61 6d 49 6e 64 65 | 78 2c 4e 6f 6e 65 29 3b |TeamInde|x,None);|
|00001c40| 0d 0a 09 09 53 75 70 65 | 72 2e 54 69 6d 65 72 28 |....Supe|r.Timer(|
|00001c50| 29 3b 0d 0a 09 7d 0d 0a | 7d 0d 0a 0d 0a 00 |);...}..|}..... |
+--------+-------------------------+-------------------------+--------+--------+